package com.demo.zhlg.service;

import com.mybatisflex.core.service.IService;
import com.demo.zhlg.entity.Users;
import org.springframework.web.multipart.MultipartFile;

import java.util.Map;

/**
 *  服务层。
 *
 * @author lenovo
 * @since 2025-04-26
 */
public interface UsersService extends IService<Users> {
    Object login(Users users);
    Object register(Users users);
    Object checkLog();
    Object getInfo();
    Object forgotPassword(Users user);
    Object uploadAvatar(MultipartFile file);
    Object getAvatar();
    Object getAvatarById(Integer id);
}
